package com.dm.cloud.testclass;

import org.redisson.misc.Hash;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

//@Configuration
public class Test implements ApplicationRunner {

    @Autowired
    private OOMCreater creater;

    @Override
    public void run(ApplicationArguments args) throws Exception {
//        for(;;) {
//            creater.addUuidStr();
//        }

        Map<Integer,Integer> map = new HashMap<>();
        map.put(1,1);
        map.put(1,2);
        map.put(1,3);
        map.put(1,4);
        System.out.println(map);
    }
}
